package com.naiterui.ehp.bs.patient.bo.notice;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * @Description: RegisterParamBO
 * @Author: fanwendong
 * @Date： 2019-07-04
 */
public class RegisterParamBO implements Serializable {

    private static final long serialVersionUID = -822706963051717295L;

    /**
     * 自主注册状态
     */
    public static final int ME_REG_SOURCE = 1;
    /**
     * 医生邀请注册
     */
    public static final int AD_INVITE_SOURCE = 2;

    /**
     * 微信openId
     */
    private String openId;

    /**
     * unionId
     */
    private String unionId;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 城市
     */
    private String city;

    /**
     * 省份
     */
    private String province;

    /**
     * 头像地址
     */
    private String headUrl;

    /**
     * 注册来源 0：未知 1：自主注册；2：医生推荐
     */
    private Integer registerSource;

    public RegisterParamBO(int source) {
        this.registerSource = source;
    }

    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUnionId() {
        return unionId;
    }

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }

    public Integer getRegisterSource() {
        return registerSource;
    }

    public void setRegisterSource(Integer registerSource) {
        this.registerSource = registerSource;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}
